package com.explorati.design_pattern.structural.decorator.example2;

public class EggDecorator extends ADecorate{

	public EggDecorator(IPancake pancake) {
		super(pancake);
	}
	
	public String getDesc(){
		return super.getDesc() + " 加一个鸡蛋 ";
	}
	
	public int cost(){
		return super.cost() + 1;
	}

}
